package 面试常见刷题;

public class 工具类 {
    public static void swap(int[] data, int a, int b) {
        int p = data[a];
        data[a] = data[b];
        data[b] = p;
    }
}

class TreeNode{
    int value;
    TreeNode left,right;
    public TreeNode(int value) {
        this.value = value;
    }
}
